package ooday02;

public class ExtendsTest {
    public static void main(String[] args) {
        Student zs=new Student(22,"张三","河南","jsd2302","666");
        zs.study();
        zs.sayHi();
        zs.eat();
        zs.sleep();
        Teacher zll=new Teacher("周玲玲",28,"郑州",9999);
        zll.sayHi();
        zll.eat();
        zll.sleep();
        zll.teach();
        Doctor ls=new Doctor(32,"李四","河北","外科");
        ls.sayHi();
        ls.sleep();
        ls.eat();
        ls.cut();

    }
}
